package by.bsu.touragency.command.guest;



import org.apache.log4j.Logger;

import by.bsu.touragency.db.dao.PersonDAO;

public class LoginLogic {

	private static Logger logger=Logger.getLogger("log");
	public static boolean checkLogin(String login, String password) {
		
		logger.info("Login check");
		PersonDAO cd = new  PersonDAO();
		return cd.autorisation(login, password);
	
	}
}
